<?php /* Smarty version 2.6.14, created on 2009-08-03 10:37:45
         compiled from coupon_edit.htm */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'checked', 'coupon_edit.htm', 16, false),)), $this); ?>
<form name="news_edit" action="" method="post">
<div class="maintable_div" style="width:750px">
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0" class="maintable">
  <tr>
    <th align="left"><div class="thead"><?php echo $this->_tpl_vars['page_title']; ?>
</div></th>
  </tr>
  <tr>
    <td>
    <table width="750" border="0" align="center" cellpadding="0" cellspacing="0" class="datalist">
      <tr bgcolor="#FFFFFF">
        <td width="80" align="center">优惠券密码</td>
        <td align="left"><input name="couponpwd" type="text" class="text" value="<?php echo $this->_tpl_vars['couponpwd']; ?>
" size="80" /> <span class="gray">最多三十位</span></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">状态</td>
        <td align="left"><input type="radio" name="status" value="1" <?php echo ((is_array($_tmp=$this->_tpl_vars['status'])) ? $this->_run_mod_handler('checked', true, $_tmp, '1') : checked($_tmp, '1')); ?>
 />是 <input type="radio" name="status" value="0" <?php echo ((is_array($_tmp=$this->_tpl_vars['status'])) ? $this->_run_mod_handler('checked', true, $_tmp, '0') : checked($_tmp, '0')); ?>
 />否
        <span class="gray">不想使用时选择否</span></td>
      </tr>
       <tr bgcolor="#FFFFFF">
        <td align="center">优惠值</td>
        <td align="left"><input name="couponval" type="text" class="text" value="<?php echo $this->_tpl_vars['couponval']; ?>
" size="30" /></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">添加时间</td>
        <td align="left"><input name="coupontim" type="text" class="text" value="<?php echo $this->_tpl_vars['addtime']; ?>
" size="30" />
        <span class="gray">修改时间对文章进行排序，格式：2006-10-17 10:05:00</span></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td align="center">添加者</td>
        <td align="left"><input name="adduser" type="text" class="text" value="<?php echo $this->_tpl_vars['adduser']; ?>
" size="30" /></td>
      </tr>
      <!--<tr bgcolor="#FFFFFF">
        <td align="center">点击统计</td>
        <td align="left"><?php echo $this->_tpl_vars['click_count']; ?>
 次</td>
      </tr>-->
    </table>    </td>
  </tr>
</table>
</div>

<div class="formControl">
  <input type="submit" name="submit" value=" 保存编辑 " class="button" />
  <input type="button" name="return" value="返回上一页" class="button" onclick="history.go(-1)" />
  <input type="hidden" name="action" value="submit" />
  <input type="hidden" name="id" value="<?php echo $this->_tpl_vars['id']; ?>
" />
  <input type="hidden" name="classid" value="<?php echo $this->_tpl_vars['classid']; ?>
" />
</div>
</form>